SharedKmpLibraryConventionPlugin

class SharedKmpLibraryConventionPlugin : Plugin<Project>

Convention plugin for a Kotlin Multiplatform library targeting Android + iOS.

Applies the Kotlin Multiplatform + AGP KMP-library plugins and declares the iOS targets, so each consuming module only declares its android { namespace/compileSdk/minSdk } block + source sets.

Modules that also need a jvm() target (e.g. shared DTOs/contracts consumed by a JVM backend) add it in their own build file so it never drifts from the server.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun apply(target: Project)